package com.enjoyor.soa.traffic.util.enums.oppm;

/**
 * 运维管理字典枚举
 * 
 * @author fzj
 *
 */
public enum EnumOppmDicPublic {
	/**
     * 报修状态：待审核、已通过、已拒绝、已撤销
     */
	REP_WAITCHECK("REPAIRSTATUS01", "待审核"),
	REP_CHECKPASS("REPAIRSTATUS02", "已通过"),
	REP_CHECKREJECT("REPAIRSTATUS03", "已拒绝"),
	REP_ISDELETE("REPAIRSTATUS04", "已撤销"),
	/**
     * 维修工单状态：待派发、待维修、待确认、待二确、已驳回、待评价、已完结、已撤销
     */
    ORD_WAITDISPATCH("ORDERSSTATUS01", "待派发"),
    ORD_WAITREPAIR("ORDERSSTATUS02", "待维修"),
    ORD_WAITSURE("ORDERSSTATUS03", "待确认"),
    ORD_WAITAGAINSURE("ORDERSSTATUS04", "待二确"),
    ORD_ISREJECT("ORDERSSTATUS05", "已驳回"),
    ORD_WAITEVALUATE("ORDERSSTATUS06", "待评价"),
    ORD_IEFINISH("ORDERSSTATUS07", "已完结"),
    ORD_ISDELETE("ORDERSSTATUS08", "已撤销"),

    /**
     * 报修操作类型：申请、撤销、催办、审核
     */
    REP_OPER_APPLY("REPOPERTYPE01", "申请"),
    REP_OPER_DELETE("REPOPERTYPE02", "撤销"),
    REP_OPER_PRESS("REPOPERTYPE03", "催办"),
    REP_OPER_CHECK("REPOPERTYPE04", "审核"),

    /**
     * 维修操作类型：立案、撤销、催办、派发、延期申请、延期审核、反馈、确认、二确、评价
     */
    ORD_OPEER_SUBMIT("ORDEROPERTYPE01", "立案"),
    ORD_OPER_DELETE("ORDEROPERTYPE02", "撤销"),
    ORD_OPER_PRESS("ORDEROPERTYPE03", "催办"),
    ORD_OPER_APPLY("ORDEROPERTYPE04", "派发"),
    ORD_OPER_POSTPONE("ORDEROPERTYPE05", "延期申请"),
    ORD_OPER_CHECK("ORDEROPERTYPE06", "延期审核"),
    ORD_OPER_FACKBACK("ORDEROPERTYPE07", "反馈"),
    ORD_OPER_SURE("ORDEROPERTYPE08", "确认"),
    ORD_OPER_AGAINSURE("ORDEROPERTYPE09", "二确"),
    ORD_OPER_EVALUATE("ORDEROPERTYPE10", "评价"),

    /**
     * 操作结果：通过、不通过
     */
    OPER_CHECKPASS("OPERRESULT01", "审核通过"),
    OPER_CHECKREJECT("OPERRESULT02", "审核不通过"),
    OPER_SUREPASS("OPERRESULT03", "确认通过"),
    OPER_SUREREJECT("OPERRESULT04", "确认不通过"),
    OPER_NOHANDLE("OPERRESULT05", "未处理"),
    OPER_ISHANDLE("OPERRESULT06", "已处理"),

    /**
     * 设备状态：
     */
    DEVICE_STATUS_NAOMAL("DEVICESTATUS01", "正常"),
    DEVICE_STATUS_FAILURE("DEVICESTATUS02", "故障"),

    /**
     * 设备维修状态
     */
    DEV_REP_STATUS_REPAIRING("DEVREPSTATUS01","报修中"),
    DEV_REP_STATUS_MAINTAINING("DEVREPSTATUS01","报修中"),
    DEV_REP_STATUS_DISUSEING("DEVREPSTATUS01","停用中"),
    DEV_REP_STATUS_USEING("DEVREPSTATUS01","报修中");

    private final String key;

    private final String value;

    private EnumOppmDicPublic(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return this.key;
    }

    public String getValue() {
        return this.value;
    }

    public String toString() {
        return this.name();
    }
}
